import { request } from "@/utils/request.js"

// 预约
export function merchantServiceReverse(data = {}) {
	return request({
		url: '/user/merchantService/reverse',
		data,
		showMsg: true
	})
}

// 取消预约
export function merchantServiceCancelReverse(data = {}) {
	return request({
		url: '/user/merchantService/cancelReverse',
		data,
		showMsg: true
	})
}

// 预约列表
export function merchantServiceReverseRecordPage(data = {}) {
	return request({
		url: '/user/merchantService/reverseRecordPage',
		data
	})
}

// 预约详情
export function merchantServiceInfo(data = {}) {
	return request({
		url: '/user/merchantService/info',
		data
	})
}